import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//全局导入Vant
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);

/*
注册components文件夹中index.js,该文件能在当前文件夹中循环注册组件
然后main文件再引用
*/
import index1 from '@/components'
Vue.use(index1);
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
